﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script>
</script>
</head>
<body>

<img src = "bg.gif" />
<form method="post" action="http://www.mysite.cn/navi/">
</form>
<script>

alert(document.images[0].src); 		// 返回图像的地址
alert(document.forms[0].action); 		// 返回表单提交的路径
</script>


</body>
</html>